function includes(array, key){
    let result = false, a = -1
    const len = array.length
    while (++a < len) {
        result = key === array[a]
        if (result) {
            break
        }
    }
    return result
}

export default includes